
////////////////////  bx - text  ////////////////////
-cm-core-text()

/* --------------------------------------------- */
/** label **/
$cm-label-border-radius = 0.25em
$cm-label-padding-h = 0.1em

.cm-label
	display inline-block
	padding 0.1em $cm-label-padding-h 0 $cm-label-padding-h
	font-size $cm-font-size
	line-height $cm-line-height-min
	white-space nowrap
	border 1px solid
	border-radius $cm-label-border-radius

	// size
	small&
	&.cm-label-s
		font-size $cm-font-size-s
	&.cm-label-l
		font-size $cm-font-size-l
	&.cm-label-xl
		font-size $cm-font-size-xl

	// style
	&.cm-label-solid
		background-color currentColor
		-webkit-text-fill-color white
